package lyl.twopointer;

import java.util.Arrays;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        int[] arr = {0,1,0,2,1,0,1,3,2,1,2,1};
        ThreeSum threeSum = new ThreeSum();
        TrappingWater trappingWater = new TrappingWater();
        TriangleCount triangleCount = new TriangleCount();
        int i = trappingWater.trap(arr);
        System.out.println(i);

    }
}
